<template>
  <div></div>
</template>

<script setup>
  import { watch } from 'vue';
  const props = defineProps(['data']);

  watch(props.data, (newValue, oldValue) => {
    console.log('~~ children watch监听 ~~');
    console.log(newValue, oldValue);
  });
</script>

<style lang="scss" scoped></style>
